﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _04._04
{
    class Program
    {
        static void Main(string[] args)
        {
           char c = 'A';
           string extention = "xxx";
          // string baseCurrentDir = Environment.CurrentDirectory;

            
            while (c <='D')
            {
                Directory.CreateDirectory(Environment.CurrentDirectory + "\\" + c);

                    int i = 0;

                while (i <=10)
                {
                    string filename = Environment.CurrentDirectory + "\\" + c + "\\" + i + "." + extention;
                    File.Create(filename);
                    //File.Create(string.Format("{3}\\{0}\\{1}.{2}",c,i,extention,Environment.CurrentDirectory));
                    i++;
                }
                c++;
            }
            
        }
    }
}
